
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://xmlns.jcp.org/jsf/html"
	xmlns:f="http://xmlns.jcp.org/jsf/core"
	xmlns:p="http://primefaces.org/ui">

<h:head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<meta http-equiv="Pragma" content="no-cache" />
	<meta http-equiv="Expires" content="-1" />
	<title>PARK</title>
	<link href="/imagens/favicon.png" type="image/png" rel="shortcut icon" />
</h:head>

<h:body>

	<div style="position: absolute;">
		<p:graphicImage url="/imagens/wallpaper.jpg" />

	</div>
	<div
		style="position: absolute; left: 50%; margin-left: -408px; top: 30%; margin-top: -150px">
		<p:graphicImage url="/imagens/logo_skytef.png" />
	</div>
	<p:dialog header="Mensagem :" widgetVar="dlg" modal="true"
		style=" width: 200px;height:50px;margin-left:0px;"
		visible="#{LoginBean.visible}">
		<h:outputText value="#{LoginBean.msg}" />
	</p:dialog>

	<h:form id="form">

		<div
			style="position: absolute; text-align: center; left: 50%; margin-left: -193px; top: 50%">
			<p:panel header="Login de Acesso ao Sistema">
				<h:panelGrid columns="2" cellpadding="5">
					<h:outputLabel for="username" value="Usuário:*" />
					<p:inputText value="#{LoginBean.username}" id="username"
						label="Usuário" />
					<h:outputLabel for="password" value="Senha:*" />
					<h:inputSecret value="#{LoginBean.password}" id="password"
						label="Senha" />

					<f:facet name="footer">
						<p:commandButton id="LoginButton" value="Login" update="growl"
							actionListener="#{LoginBean.login}" ajax="false"
							style="width: 100%;"
							oncomplete="handleLoginRequest(xhr, status, args)" />
					</f:facet>
				</h:panelGrid>
			</p:panel>
		</div>
	</h:form>

	<div class="rodape">
		<p:outputLabel value="PARK versão 1.0"
			style="
		height: 15px;
		position:absolute;
		top: auto;
		bottom: 0px;
		left: 46%;
		font-size: 10px" />
	</div>
</h:body>
</html>



